package com.lyf.lottery.config;

import com.lyf.common.config.BaseSwaggerConfig;
import com.lyf.common.domain.SwaggerProperties;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author yangdong
 * @date 2020/11/21 15:08
 */
@Configuration
@EnableSwagger2
public class SwaggerConfig extends BaseSwaggerConfig {

    @Override
    public SwaggerProperties swaggerProperties() {
        /**
         *  请填写自己的实际信息
         */
        return SwaggerProperties.builder()
                .apiBasePackage("com.lyf.lottery.controller")
                .title("抽奖")
                .description("抽奖相关接口")
                .contactName("抽奖相关接口")
                .version("1.0")
                .enableSecurity(true)
                .build();
    }

}
